package com.xywy.tangandroid.bean;

import java.util.Comparator;

public class BloodComputorDesc implements Comparator<BloodData>{
	@Override
	public int compare(BloodData first, BloodData sedond) {
		long firstTime = Long.parseLong(first.getRecordtime());
		long sedondTime = Long.parseLong(sedond.getRecordtime());
		if(firstTime>sedondTime){
			return 1;
		}else {
			return -1;
		}
	 }
}